home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / NETDNS.IN_ / netdns.inf
Encoding:
Windows Setup INFormation  |  2003-03-24  |  6.5 KB  |  219 lines

  1. ; -- NETDNS.INX --
  2. ;
  3. ; Microsoft Domain Name System Server
  4. ;
  5. ; Copyright (c) Microsoft Corporation.  All rights reserved.
  6.  
  7. [version]
  8. signature="$Windows NT$"
  9. LayoutFile=layout.inf
  10. Provider=%Msft%
  11. DriverVer=10/01/2002,5.2.3790.0
  12.  
  13. ;
  14. ; For Optional Components Use Only
  15. ;
  16.  
  17. [DNS]
  18. CopyFiles               = CpyFiles_Sys,CpyFiles_Sys_Console,CpyFiles_Dns,CpyFiles_DnsSamp,CpyFiles_DnsWmi
  19. Needs                   = WBEM   ; Maintains proper ordering of OCs - we depend on WMI
  20. Uninstall               = DNS.Remove
  21. StartServices           = DNS
  22. RegisterDlls            = DNS.Register
  23. ProfileItems            = DNS.Shortcut.Add, DNS.Old.Shortcut.Remove
  24.  
  25. [DNS.Remove]
  26. UnregisterDlls          = DNS.Unregister
  27. ProfileItems            = DNS.Shortcut.Remove
  28. DelReg                  = DNS.Remove.DelReg
  29.  
  30. ;
  31. ; Services Sections
  32. ;
  33.  
  34. [DNS.Services]
  35. ; 0x10 = SPSVCINST_NOCLOBBER_STARTTYPE
  36. AddService = DNS, 0x10, DNSServer_Service_Inst
  37.  
  38. [DNS.Remove.Services]
  39. DelService = DNS
  40.  
  41. ;
  42. ; COM Object registration/Perf counters
  43. ;
  44.  
  45. [DNS.Register]
  46. 11,, dnsmgr.dll, 1
  47. 11,, mycomput.dll, 1
  48. 11,, wbem\dnsprov.dll, 1
  49. 11,, lodctr.exe, 1,,"dnsperf.ini"
  50.  
  51. [DNS.Unregister]
  52. 11,, dnsmgr.dll, 1
  53. 11,, unlodctr.exe, 1,,"DNS"
  54.  
  55. ;
  56. ; Administrative Tools shortcut
  57. ;
  58.  
  59. [DNS.Shortcut.Add]
  60. Name = %DNS_Shortcut_Desc%
  61. SubDir = %DNS_Admin_Group%
  62. CmdLine = 11,,"dnsmgmt.msc /s"
  63. IconPath = 11,,dnsmgr.dll
  64. IconIndex = 0
  65. InfoTip = %DNS_Admin_HelpText%
  66.  
  67. [DNS.Shortcut.Remove]
  68. Name = %DNS_Shortcut_Desc%, 0x2
  69. SubDir = %DNS_Admin_Group%
  70.  
  71. ; NT 4.0 Shortcut
  72. [DNS.Old.Shortcut.Remove]
  73. Name = %DNS_Admin_Tool_Old%, 0x2
  74. SubDir = %DNS_Admin_Group_Old%
  75.  
  76. [DestinationDirs]
  77. CpyFiles_Sys        = 11                ;System32
  78. CpyFiles_Sys_Console= 11                ;System32
  79. CpyFiles_Dns        = 11,dns            ;System32\dns
  80. CpyFiles_DnsSamp    = 11,dns\samples    ;System32\dns\samples
  81. CpyFiles_DnsWmi     = 11,wbem           ;System32\wbem
  82.  
  83. ;
  84. ; Copy Files sections
  85. ;
  86.  
  87. [CpyFiles_Sys]
  88. dnsmgr.dll,,,2
  89. dnsmgmt.msc,,,2
  90. dnsperf.dll,,,2
  91. dnsperf.h,,,2
  92. dnsperf.ini,,,2
  93.  
  94. [CpyFiles_DnsWmi]
  95. dnsprov.mof,,,2
  96. dnsprov.dll,,,2
  97.  
  98. [CpyFiles_Sys.Security]
  99. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"
  100.  
  101. [CpyFiles_Sys_Console]
  102. dns.exe,,,2
  103.  
  104. [CpyFiles_Sys_Console.Security]
  105. "D:P(A;;GRGX;;;IU)(A;;GRGX;;;SU)(A;;GRGX;;;S-1-5-3)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GA;;;CO)"
  106.  
  107. [CpyFiles_Dns]
  108. CACHE.DNS,,,0x12    ; Don't overwrite if already present
  109.  
  110. [CpyFiles_Dns.Security]
  111. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"
  112.  
  113. [CpyFiles_DnsSamp]
  114. 192.DNS,,,2
  115. BOOT,,,2
  116. CACHE.DNS,,,2
  117. PLACE.DNS,,,2
  118.  
  119. [CpyFiles_DnsSamp.Security]
  120. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"
  121.  
  122. ;
  123. ; Service Install Sections
  124. ;
  125.  
  126. [DNSServer_Service_Inst]
  127. DisplayName     =   %DNSServer_Display%
  128. ServiceType     =   %SERVICE_WIN32_OWN_PROCESS%
  129. StartType       =   %SERVICE_AUTO_START%
  130. ErrorControl    =   1
  131. ServiceBinary   =   "%%SystemRoot%%\System32\dns.exe"
  132. Dependencies    =   Tcpip, Afd, RpcSs
  133. StartName       =   LocalSystem
  134. AddReg          =   DNS.AddReg
  135. Description     =   %DNSServer_Desc%
  136.  
  137. [DNS.AddReg]
  138.  
  139. ;
  140. ; Perfmon counter info
  141. ;
  142.  
  143. HKR, "Performance",     "Library",          ,           "dnsperf.dll"
  144. HKR, "Performance",     "Open",             ,           "OpenDnsPerformanceData"
  145. HKR, "Performance",     "Close",            ,           "CloseDnsPerformanceData"
  146. HKR, "Performance",     "Collect",          ,           "CollectDnsPerformanceData"
  147.  
  148. ;
  149. ; Add Computer Management dynamic extension
  150. ;
  151.  
  152. HKLM, System\CurrentControlSet\Control\Server Applications\, {80105023-50B1-11D1-B930-00A0C9A06D2D}, REG_SZ, %DNS_EXTENSION%
  153.  
  154. ;
  155. ; DNS Server eventlogs go to private log
  156. ;
  157.  
  158. HKLM, "System\CurrentControlSet\Services\EventLog\DNS Server", , %FLG_ADDREG_KEYONLY%
  159.  
  160. HKLM, "System\CurrentControlSet\Services\EventLog\DNS Server", "File",                %REG_EXPAND_SZ%, "%%SystemRoot%%\system32\config\DnsEvent.Evt"
  161. HKLM, "System\CurrentControlSet\Services\EventLog\DNS Server", "MaxSize",             0x00010003, 0x1000000
  162. HKLM, "System\CurrentControlSet\Services\EventLog\DNS Server", "Retention",           0x00010003, 0x93a80
  163. HKLM, "System\CurrentControlSet\Services\EventLog\DNS Server", "Sources",             %REG_MULTI_SZ%, "DNS Server"
  164. HKLM, "System\CurrentControlSet\Services\EventLog\DNS Server", "DisplayNameFile",     %REG_EXPAND_SZ%, "%%SystemRoot%%\system32\els.dll"
  165. HKLM, "System\CurrentControlSet\Services\EventLog\DNS Server", "DisplayNameID",       %REG_DWORD%, 0x00000105
  166. HKLM, "System\CurrentControlSet\Services\EventLog\DNS Server", "RestrictGuestAccess", 0x00010003, 0x00000001
  167.  
  168. HKLM, "System\CurrentControlSet\Services\EventLog\DNS Server\DNS", , %FLG_ADDREG_KEYONLY%
  169.  
  170. HKLM, "System\CurrentControlSet\Services\EventLog\DNS Server\DNS", "EventMessageFile", %REG_EXPAND_SZ%,    "%%SystemRoot%%\System32\dns.exe"
  171. HKLM, "System\CurrentControlSet\Services\EventLog\DNS Server\DNS", "TypesSupported",   %REG_DWORD%,        0x00000007
  172.  
  173. [DNS.Remove.DelReg]
  174.  
  175. ;
  176. ;   On uninstall delete all zone information from registry.
  177. ;
  178.  
  179. HKLM, "SOFTWARE\Microsoft\Windows NT\CurrentVersion\DNS Server"
  180. [Strings]
  181. Msft = "Microsoft"
  182.  
  183. DNSServer_Display = "DNS Server"
  184. DNSServer_Desc = "Enables DNS clients to resolve DNS names by answering DNS queries and dynamic DNS update requests. If this service is stopped, DNS updates will not occur. If this service is disabled, any services that explicitly depend on it will fail to start."
  185.  
  186. ; Service names
  187. DNS_Desc = "Microsoft DNS Server"
  188. DNS_Admin_Group = "Administrative Tools"
  189. DNSServer_HELP = "The Domain Name System maps DNS domain names to IP addresses."
  190.  
  191. ; Note to localizers: This string must be the same as the one from NT4.
  192. DNS_Admin_Tool_Old = "DNS Manager"
  193. DNS_Admin_Group_Old = "Administrative Tools"
  194. DNS_Shortcut_Desc = "DNS"
  195. DNS_EXTENSION = "DNS Extension"
  196. DNS_Admin_HelpText = "Manages the Domain Name System (DNS) service, which translates DNS computer names to IP addresses."
  197.  
  198. REG_MULTI_SZ = 0x10000
  199. REG_EXPAND_SZ = 0x20000
  200. REG_DWORD = 0x10001
  201. SERVICE_DEMAND_START = 3
  202. SERVICE_AUTO_START = 2
  203. SERVICE_WIN32_SHARE_PROCESS = 32
  204. SERVICE_FILE_SYSTEM_DRIVER = 2
  205. SERVICE_WIN32_OWN_PROCESS = 16
  206.  
  207. ; Characteristic flags
  208. NCF_VIRTUAL                 = 0x0001
  209. NCF_WRAPPER                 = 0x0002
  210. NCF_PHYSICAL                = 0x0004
  211. NCF_HIDDEN                  = 0x0008
  212. NCF_NO_SERVICE              = 0x0010
  213. NCF_NOT_USER_REMOVABLE      = 0x0020
  214. NCF_HAS_UI                  = 0x0080
  215. NCF_MODEM                   = 0x0100
  216.  
  217. KEY_OPTIONAL            = "SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents"
  218.  
  219.